package cn.ug.enums;

public enum ProvinceCityEnum {
    BEIJING("1100", "北京市"),
    TIANJIN("1200", "天津市"),

    HEBEI("1300", "河北省"),
    SHIJIAZHUANG("1301", "河北省-石家庄市"),
    TANGSHAN("1302", "河北省-唐山市"),
    QINHUANGDAO("1303", "河北省-秦皇岛市"),
    HANDAN("1304", "河北省-邯郸市"),
    XINGTAI("1305", "河北省-邢台市"),
    BAODING("1306", "河北省-保定市"),
    ZHANGJIAKOU("1307", "河北省-张家口市"),
    CHENGDE("1308", "河北省-承德市"),
    CANGZHOU("1309", "河北省-沧州市"),
    LANGFANG("1310", "河北省-廊坊市"),
    HENGSHUI("1311", "河北省-衡水市"),

    SHANXI("1400", "山西省"),
    TAIYUAN("1401",	"山西省-太原市"),
    DATONG("1402","山西省-大同市"),
    YANGQUAN("1403","山西省-阳泉市"),
    CHANGZHI("1404", "山西省-长治市"),
    JINCHENG("1405", "山西省-晋城市"),
    QIZHOU("1422", "山西省-忻州市"),
    JINZHONG("1424", "山西省-晋中市"),
    LINPEN("1426", "山西省-临汾市"),
    YUNCHENG("1427", "山西省-运城市"),

    NEIMENGGU("1500", "内蒙古自治区"),
    HUHEHAOTE("1501",	"内蒙古自治区-呼和浩特市"),
    BAOTOU("1502",	"内蒙古自治区-包头市"),
    WUHAI("1503",	"内蒙古自治区-乌海市"),
    CHIFENG("1504",	"内蒙古自治区-赤峰市"),
    HULUNBAIER("1521",	"内蒙古自治区-呼伦贝尔盟"),
    XINGAN("1522",	"内蒙古自治区-兴安盟"),
    ZHELIMU("1523",	"内蒙古自治区-哲里木盟"),
    XINLINGUOLE("1525",	"内蒙古自治区-锡林郭勒盟"),
    WULANCHABU("1526",	"内蒙古自治区-乌兰察布盟"),
    YIKEZHAO("1527",	"内蒙古自治区-伊克昭盟"),
    BAYANZHUOER("1528",	"内蒙古自治区-巴彦淖尔盟"),
    ALASHAN("1529",	"内蒙古自治区-阿拉善盟"),

    LIAONING("2100", "辽宁省"),
    shenyang("2101", "辽宁省-沈阳市"),
    dalian("2102", "辽宁省-大连市"),
    anshan("2103", "辽宁省-鞍山市"),
    FUSHUN("2104", "辽宁省-抚顺市"),
    BENXI("2105", "辽宁省-本溪市"),
    DANDONG("2106", "辽宁省-丹东市"),
    JINZHOU("2107", "辽宁省-锦州市"),
    YINGKOU("2108", "辽宁省-营口市"),
    FUXIN("2109", "辽宁省-阜新市"),
    LIAOYANG("2110", "辽宁省-辽阳市"),
    PANJIN("2111", "辽宁省-盘锦市"),
    TIELING("2112", "辽宁省-铁岭市"),
    CHAOYANG("2113", "辽宁省-朝阳市"),
    HULUDAO("2114", "辽宁省-葫芦岛市"),

    JILIN("2200", "吉林省"),
    CHANGCHUN("2201", "吉林省-长春市"),
    JILINJINLIN("2202", "吉林省-吉林市"),
    SIPING("2203", "吉林省-四平市"),
    LIAOYUAN("2204", "吉林省-辽源市"),
    TONGHUA("2205", "吉林省-通化市"),
    BAISHAN("2206", "吉林省-白山市"),
    SONGYUAN("2207", "吉林省-松原市"),
    BAICHENG("2208", "吉林省-白城市"),
    CHAOXIAN("2224", "吉林省-延边朝鲜族自治州"),

    HEILUNGKIANG("2300", "黑龙江省"),
    HAERBIN("2301", "黑龙江省-哈尔滨市"),
    QIQIHAER("2302", "黑龙江省-齐齐哈尔市"),
    JIXI("2303", "黑龙江省-鸡西市"),
    HEGANG("2304", "黑龙江省-鹤岗市"),
    SHUANGYASHAN("2305", "黑龙江省-双鸭山市"),
    DAQING("2306", "黑龙江省-大庆市"),
    YICHUN("2307", "黑龙江省-伊春市"),
    JIAMUSI("2308", "黑龙江省-佳木斯市"),
    QITAIHE("2309", "黑龙江省-七台河市"),
    MULANJIANG("2310", "黑龙江省-牡丹江市"),
    HEIHE("2311", "黑龙江省-黑河市"),
    SUIHUA("2323", "黑龙江省-绥化市"),
    DAXINGANLING("2327", "黑龙江省-大兴安岭市"),

    SHANGHAI("3100", "上海市"),
    JIANGSU("3200", "江苏省"),
    NANJING("3201", "江苏省-南京市"),
    WUXI("3202", "江苏省-无锡市"),
    XUZHOU("3203", "江苏省-徐州市"),
    CHANGZHOU("3204", "江苏省-常州市"),
    SUZHOU("3205", "江苏省-苏州市"),
    NANTONG("3206", "江苏省-南通市"),
    LIANYUNGANG("3207", "江苏省-连云港市"),
    HUAIYIN("3208", "江苏省-淮阴市"),
    YANCHENG("3209", "江苏省-盐城市"),
    YANGZHOU("3210", "江苏省-扬州市"),
    ZHENJIANG("3211", "江苏省-镇江市"),
    TAIZHOU("3212", "江苏省-泰州市"),
    SUQIAN("3213", "江苏省-宿迁市"),

    CHEKIANG("3300", "浙江省"),
    HANGZHOU("3301", "浙江省-杭州市"),
    NINGBO("3302", "浙江省-宁波市"),
    WENZHOU("3303", "浙江省-温州市"),
    JIAXING("3304", "浙江省-嘉兴市"),
    HUZHOU("3305", "浙江省-湖州市"),
    SHAOXING("3306", "浙江省-绍兴市"),
    JINHUA("3307", "浙江省-金华市"),
    QUZHOU("3308", "浙江省-衢州市"),
    ZHOUSHAN("3309", "浙江省-舟山市"),
    TAIZHOUSHI("3310", "浙江省-台州市"),
    LISHUI("3325", "浙江省-丽水市"),

    ANHWEI("3400", "安徽省"),
    HEFEI("3401", "安徽省-合肥市"),
    WUHU("3402", "安徽省-芜湖市"),
    BANGBU("3403", "安徽省-蚌埠市"),
    HUAINAN("3404", "安徽省-淮南市"),
    MAANSHAN("3405", "安徽省-马鞍山市"),
    HUAIBEI("3406", "安徽省-淮北市"),
    TONGLING("3407", "安徽省-铜陵市"),
    ANQING("3408", "安徽省-安庆市"),
    HUANGSHAN("3410", "安徽省-黄山市"),
    CHUZHOU("3411", "安徽省-滁州市"),
    FUYANG("3412", "安徽省-阜阳市"),
    SUZHOUSHI("3413", "安徽省-宿州市"),
    LIUAN("3424", "安徽省-六安市"),
    XUANCHEGN("3425", "安徽省-宣城市"),
    CAOHU("3426", "安徽省-巢湖市"),
    CHIZHOU("3429", "安徽省-池州市"),

    FUKIEN("3500", "福建省"),
    FUZHOU("3501", "福建省-福州市"),
    XIAMEN("3502", "福建省-厦门市"),
    FUTIAN("3503", "福建省-莆田市"),
    SHANMING("3504", "福建省-三明市"),
    QUANZHOU("3505", "福建省-泉州市"),
    ZHANGZHOU("3506", "福建省-漳州市"),
    NANPING("3507", "福建省-南平市"),
    LONGYAN("3508", "福建省-龙岩市"),
    NINGDE("3522", "福建省-宁德市"),

    JIANGXI("3600", "江西省"),
    NANCHANG("3601", "江西省-南昌市"),
    JINGDEZHEN("3602", "江西省-景德镇市"),
    PINGXIANG("3603", "江西省-萍乡市"),
    NIUJIANG("3604", "江西省-九江市"),
    XINYU("3605", "江西省-新余市"),
    YINGTAN("3606", "江西省-鹰潭市"),
    ZHANGZHOUSHI("3607", "江西省-赣州市"),
    YICHUNSHI("3622", "江西省-宜春市"),
    SHAGNRAO("3623", "江西省-上饶市"),
    JIAN("3624", "江西省-吉安市"),
    FUZHOUSHI("3625", "江西省-抚州市"),

    SHANDONG("3700", "山东省"),
    JINAN("3701", "山东省-济南市"),
    QINGGDAO("3702", "山东省-青岛市"),
    ZIBO("3703", "山东省-淄博市"),
    ZAOZHUANG("3704", "山东省-枣庄市"),
    DONGYING("3705", "山东省-东营市"),
    YANTAI("3706", "山东省-烟台市"),
    WEIFANG("3707", "山东省-潍坊市"),
    JINING("3708", "山东省-济宁市"),
    TAIAN("3709", "山东省-泰安市"),
    WEIHAI("3710", "山东省-威海市"),
    RIZHAO("3711", "山东省-日照市"),
    LAIWU("3712", "山东省-莱芜市"),
    LINQI("3713", "山东省-临沂市"),
    DEZHOU("3714", "山东省-德州市"),
    LIAOCHENG("3715", "山东省-聊城市"),
    BINZHOU("3723", "山东省-滨州市"),
    HEZE("3729", "山东省-菏泽市"),

    HENAN("4100", "河南省"),
    ZHENGZHOU("4101", "河南省-郑州市"),
    KAIFENG("4102", "河南省-开封市"),
    LUOYANG("4103", "河南省-洛阳市"),
    PINGDINGSHAN("4104", "河南省-平顶山市"),
    ANYANG("4105", "河南省-安阳市"),
    HEBI("4106", "河南省-鹤壁市"),
    XINXIANG("4107", "河南省-新乡市"),
    JIAOZUO("4108", "河南省-焦作市"),
    PUYANG("4109", "河南省-濮阳市"),
    XUNCHANG("4110", "河南省-许昌市"),
    LUOHE("4111", "河南省-漯河市"),
    SHAMENXIA("4112", "河南省-三门峡市"),
    NANYANG("4113", "河南省-南阳市"),
    SHANGQIU("4114", "河南省-商丘市"),
    XINYANG("4115", "河南省-信阳市"),
    ZHOUKOU("4127", "河南省-周口市"),
    ZHUMADIAN("4128", "河南省-驻马店市"),

    HUPEI("4200", "湖北省"),
    WUHAN("4201", "湖北省-武汉市"),
    HUANGSHI("4202", "湖北省-黄石市"),
    SHIYAN("4203", "湖北省-十堰市"),
    YICHANG("4205", "湖北省-宜昌市"),
    XIANGPAN("4206", "湖北省-襄樊市"),
    EZHOU("4207", "湖北省-鄂州市"),
    JINGMEN("4208", "湖北省-荆门市"),
    XIAOGAN("4209", "湖北省-孝感市"),
    JINGZHOU("4210", "湖北省-荆州市"),
    HUANGGANG("4211", "湖北省-黄冈市"),
    YANNING("4212", "湖北省-咸宁市"),
    ZIZHIZHOU("4228", "湖北省-施土家族苗族自治州"),
    XINGZHENGDANWEI("4290", "湖北省-省直辖县级行政单位"),
    SUIZHOU("4290", "湖北省-随州市"),
    XIANTAO("4290", "湖北省-仙桃市"),
    QIANJIANG("4290", "湖北省-潜江市"),
    TIANMEN("4290", "湖北省-天门市"),
    SHENNONGJIA("4290", "湖北省-神农架林区"),

    HUNAN("4300", "湖南省"),
    CHAGNSHA("4301", "湖南省-长沙市"),
    ZHUZHOU("4302", "湖南省-株洲市"),
    XIANGTAN("4303", "湖南省-湘潭市"),
    HENGYANG("4304", "湖南省-衡阳市"),
    SHAOYANG("4305", "湖南省-邵阳市"),
    YUEYANG("4306", "湖南省-岳阳市"),
    CHANGDE("4307", "湖南省-常德市"),
    ZHANGJIAJIE("4308", "湖南省-张家界市"),
    YIYANTG("4309", "湖南省-益阳市"),
    CHENZHOU("4310", "湖南省-郴州市"),
    YONGZHOU("4311", "湖南省-永州市"),
    HUAIHUA("4312", "湖南省-怀化市"),
    LOUDI("4325", "湖南省-娄底市"),
    HUAIHUASHI("4330", "湖南省-怀化市"),
    TUZHU("4331", "湖南省-湘西土家族苗族自治州"),


    GUANGDONG("4400", "广东省"),
    GUANGZHOU("4401", "广东省-广州市"),
    SHAOGUAN("4402", "广东省-韶关市"),
    SHENZHEN("4403", "广东省-深圳市"),
    ZHUHAI("4404", "广东省-珠海市"),
    SHANTOU("4405", "广东省-汕头市"),
    FOSHAN("4406", "广东省-佛山市"),
    JIANGMEN("4407", "广东省-江门市"),
    ZHANJIANG("4408", "广东省-湛江市"),
    MAOMING("4409", "广东省-茂名市"),
    ZHAOQING("4412", "广东省-肇庆市"),
    HUIZHOU("4413", "广东省-惠州市"),
    MEIZHOU("4414", "广东省-梅州市"),
    SHANWEI("4415", "广东省-汕尾市"),
    HEYUAN("4416", "广东省-河源市"),
    YANGJIANG("4417", "广东省-阳江市"),
    QINGYUAN("4418", "广东省-清远市"),
    DONGWAN("4419", "广东省-东莞市"),
    ZHOUSHANSHI("4420", "广东省-中山市"),
    CHAOZHOU("4451", "广东省-潮州市"),
    JIEYANG("4452", "广东省-揭阳市"),
    YUNFU("4453", "广东省-云浮市"),

    GUANGXI("4500", "广西壮族自治区"),
    NANNING("4501", "广西壮族自治区-南宁市"),
    LIUZHOU("4502", "广西壮族自治区-柳州市"),
    GUILIN("4503", "广西壮族自治区-桂林市"),
    WUZHOU("4504", "广西壮族自治区-梧州市"),
    BEIHAI("4505", "广西壮族自治区-北海市"),
    FNAGCHENGGANG("4506", "广西壮族自治区-防城港市"),
    QINZHOU("4507", "广西壮族自治区-钦州市"),
    GUIGANG("4508", "广西壮族自治区-贵港市"),
    YULIN("4509", "广西壮族自治区-玉林市"),
    NANNINGSHI("4521", "广西壮族自治区-南宁市"),
    LIUZHOUSHI("4522", "广西壮族自治区-柳州市"),
    HEZHOU("4524", "广西壮族自治区-贺州市"),
    BAISE("4526", "广西壮族自治区-百色市"),
    HECHI("4527", "广西壮族自治区-河池市"),

    KAINAN("4600", "海南省"),
    HAIKOU("4601", "海南省海口市"),
    SHANYA("4602", "海南省三亚市"),

    CHUNGKING("5000", "重庆市"),
    SICHUAN("5100", "四川省"),
    CHEGNDU("5101", "四川省-成都市"),
    ZIGONG("5103", "四川省-自贡市"),
    PANZHIHUA("5104", "四川省-攀枝花市"),
    LUZHOU("5105", "四川省-泸州市"),
    DEYANG("5106", "四川省-德阳市"),
    MIANYANG("5107", "四川省-绵阳市"),
    GUANGYUAN("5108", "四川省-广元市"),
    SUINING("5109", "四川省-遂宁市"),
    NEIJIANG("5110", "四川省-内江市"),
    LESHAN("5111", "四川省-乐山市"),
    NANCHONG("5113", "四川省-南充市"),
    YIBIN("5115", "四川省-宜宾市"),
    GUANGAN("5116", "四川省-广安市"),
    DACHUAN("5130", "四川省-达川市"),
    YAAN("5131", "四川省-雅安市"),
    ABAZANG("5132", "四川省-阿坝藏族羌族自治州"),
    ANZIZANG("5133", "四川省-甘孜藏族自治州"),
    LIANGZHOUYIZHOU("5134", "四川省-凉山彝族自治州"),
    BAZHONG("5137", "四川省-巴中市"),
    MEISHAN("5138", "四川省-眉山市"),

    GUIZHOU("5200", "贵州省"),
    GUIYANG("5201", "贵州省-贵阳市"),
    LIUPANSHUI("5202", "贵州省-六盘水市"),
    ZUNYI("5203", "贵州省-遵义市"),
    TONGREN("5222", "贵州省-铜仁市"),
    BUYIZU("5223", "贵州省-黔西南布依族苗族自治州"),
    BIJIE("5224", "贵州省-毕节市"),
    ANSHUN("5225", "贵州省-安顺市"),
    MIAOTONG("5226", "贵州省-黔东南苗族侗族自治州"),
    BUYIMIAO("5227", "贵州省-黔南布依族苗族自治州"),

    YUNNAN("5300", "云南省"),
    KUNMING("5301", "云南省-昆明市"),
    QUJING("5303", "云南省-曲靖市"),
    YUXI("5304", "云南省-玉溪市"),
    ZHAOTONG("5321", "云南省-昭通市"),
    YIZU("5323", "云南省-楚雄彝族自治州"),
    HANIZU("5325", "云南省-红河哈尼族彝族自治州"),
    ZHUANGZU("5326", "云南省-文山壮族苗族自治州"),
    SIMAO("5327", "云南省-思茅市"),
    DAIZU("5328", "云南省-西双版纳傣族自治州"),
    BAIZU("5329", "云南省-大理白族自治州"),
    BAOSHAN("5330", "云南省-保山市"),
    JINGPO("5331", "云南省-德宏傣族景颇族自治州"),
    LIJIANG("5332", "云南省-丽江市"),
    LILIZU("5333", "云南省-怒江傈僳族自治州"),
    ZANGZU("5334", "云南省-迪庆藏族自治州"),
    LICANG("5335", "云南省-临沧市"),

    SITSANG("5400", "西藏自治区"),
    LASA("5401", "西藏自治区-拉萨市"),
    CANGDU("5421", "西藏自治区-昌都市"),
    SHANNAN("5422", "西藏自治区-山南市"),
    RIKEZE("5423", "西藏自治区-日喀则市"),
    NAQU("5424", "西藏自治区-那曲市"),
    ALI("5425", "西藏自治区-阿里市"),
    LIZHI("5426", "西藏自治区-林芝市"),

    SHENSI("6100", "陕西省"),
    XIAN("6101", "陕西省-西安市"),
    TONGCHUAN("6102", "陕西省-铜川市"),
    BAOJI("6103", "陕西省-宝鸡市"),
    XIANYANG("6104", "陕西省-咸阳市"),
    WEINAN("6105", "陕西省-渭南市"),
    YANAN("6106", "陕西省-延安市"),
    HANGZHONG("6107", "陕西省-汉中市"),
    ANKANG("6124", "陕西省-安康市"),
    SHANGLUO("6125", "陕西省-商洛市"),
    YULINSHI("6127", "陕西省-榆林市"),

    GANSU("6200", "甘肃省"),
    LANZHOU("6201", "甘肃省-兰州市"),
    JIAYUANGUAN("6202", "甘肃省-嘉峪关市"),
    BAIYIN("6204", "甘肃省-白银市"),
    TIANSHUI("6205", "甘肃省-天水市"),
    JIUQUAN("6221", "甘肃省-酒泉市"),
    ZHANGYE("6222", "甘肃省-张掖市"),
    WUWEI("6223", "甘肃省-武威市"),
    DINGXI("6224", "甘肃省-定西市"),
    LONGNAN("6226", "甘肃省-陇南市"),
    PINGLIANG("6227", "甘肃省-平凉市"),
    QINGYANG("6228", "甘肃省-庆阳市"),
    HUIZU("6229", "甘肃省-临夏回族自治州"),
    GANNANZANGZU("6230", "甘肃省-甘南藏族自治州"),

    QINGHAI("6300", "青海省"),
    XINING("6301", "青海省-西宁市"),
    HAIDONG("6321", "青海省-海东市"),
    HAIBEIZANGZU("6322", "青海省-海北藏族自治州"),
    HUANGNAN("6323", "青海省-黄南藏族自治州"),
    HAINANZANGZHU("6325", "青海省-海南藏族自治州"),
    GUOLUO("6326", "青海省-果洛藏族自治州"),
    YUSHU("6327", "青海省-玉树藏族自治州"),

    NINGXIA("6400", "宁夏回族自治区"),
    YINCHUAN("6401", "宁夏回族自治区-银川市"),
    SHIZUISHAN("6402", "宁夏回族自治区-石嘴山市"),
    WUZHONG("6403", "宁夏回族自治区-吴忠市"),
    GUYUAN("6422", "宁夏回族自治区-固原市"),

    SINKIANG("6500", "新疆维吾尔族自治区"),
    WULUMUQI("6501", "新疆维吾尔族自治区-乌鲁木齐市"),
    KELAMAYI("6502", "新疆维吾尔族自治区-克拉玛依市"),
    TULUFAN("6521", "新疆维吾尔族自治区-吐鲁番市"),
    HAMI("6522", "新疆维吾尔族自治区-哈密市"),
    CHANGJI("6523", "新疆维吾尔族自治区-昌吉回族自治州"),
    BOER("6527", "新疆维吾尔族自治区-博尔塔拉蒙古自治州"),
    BAYIN("6528", "新疆维吾尔族自治区-巴音郭楞蒙古自治州"),
    AKESU("6529", "新疆维吾尔族自治区-阿克苏市"),
    KEZILE("6530", "新疆维吾尔族自治区-克孜勒苏柯尔克孜自治州"),
    KESHI("6531", "新疆维吾尔族自治区-喀什市"),
    HETIAN("6532", "新疆维吾尔族自治区-和田市"),
    YILI("6540", "新疆维吾尔族自治区-伊犁哈萨克自治州"),
    YILIHESA("6541", "新疆维吾尔族自治区-伊犁哈萨克自治州"),
    TACHEGN("6542", "新疆维吾尔族自治区-塔城市"),
    ALATAI("6543", "新疆维吾尔族自治区-阿勒泰市"),
    ZHIXIAXIAN("6590", "新疆维吾尔族自治区-直辖县级行政单位"),
    SHIHEZI("6590", "新疆维吾尔族自治区-石河子市"),

    TAIWAN("71", "台湾省"),
    DIAOYU_ISLANDS("72", "钓鱼岛"),
    HONG_KONG("81", "香港特别行政区"),
    MACAO("82", "澳门特别行政区");

    private String code;
    private String area;

    ProvinceCityEnum(String code, String area) {
        this.area = area;
        this.code = code;
    }

    public static String getAreaByCode(String code) {
        for (ProvinceCityEnum v : ProvinceCityEnum.values()) {
            if (v.getCode().equals(code)) {
                return v.getArea();
            }
        }
        return null;
    }

    public String getCode() {
        return code;
    }

    public String getArea() {
        return area;
    }
}
